import request from '@/utils/http'

/**
 * 获取操作日志列表
 * @param params
 */
export function getOperateLogList(params: any) {
	return request.get<Http.BaseResponse>({
		url: '/api/operateLog',
		params: params
	})
}

/**
 * 删除操作日志列表
 * @param params
 */
export function deleteOperateLog(params: any) {
	return request.del<Http.BaseResponse>({
		url: '/api/operateLog',
		params: params,
		showSuccessMessage: true
	})
}

/**
 * 批量删除操作日志
 * @param params
 */
export function batchDeleteOperateLog(params: any) {
	return request.del<Http.BaseResponse>({
		url: '/api/operateLog/batch',
		params: params,
		showSuccessMessage: true
	})
}
